package inc.gome.dynamic.datasource.netty;

import java.util.concurrent.ConcurrentHashMap;


/**
 *  服务端派发类
 */
public class Dispatcher {

    public  static ConcurrentHashMap<String,Object> invokeMap = new ConcurrentHashMap<>();

    public void register(String k,Object obj){
        invokeMap.put(k,obj);
    }
    public Object get(String k){
        return invokeMap.get(k);
    }

}